package com.entity;

import java.io.Serializable;
import java.util.Date;

public class Orders implements Serializable {
    private String oId;

    /**
     * 关联用户
     *
     * @mbg.generated
     */
    private Integer uId;

    /**
     * 地址
     *
     * @mbg.generated
     */
    private Integer aId;

    /**
     * 总金额
     *
     * @mbg.generated
     */
    private Long oCount;

    /**
     * 下单时间
     *
     * @mbg.generated
     */
    private Date oTime;

    /**
     * 状态：0未付款，1付款未发货，2发货待收获，3收获待评价，4订单完成。5退货
     *
     * @mbg.generated
     */
    private Integer oStatus;

    private static final long serialVersionUID = 1L;

    public String getoId() {
        return oId;
    }

    public void setoId(String oId) {
        this.oId = oId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }

    public Long getoCount() {
        return oCount;
    }

    public void setoCount(Long oCount) {
        this.oCount = oCount;
    }

    public Date getoTime() {
        return oTime;
    }

    public void setoTime(Date oTime) {
        this.oTime = oTime;
    }

    public Integer getoStatus() {
        return oStatus;
    }

    public void setoStatus(Integer oStatus) {
        this.oStatus = oStatus;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", oId=").append(oId);
        sb.append(", uId=").append(uId);
        sb.append(", aId=").append(aId);
        sb.append(", oCount=").append(oCount);
        sb.append(", oTime=").append(oTime);
        sb.append(", oStatus=").append(oStatus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}